$(function () {
    let m_playbar = $('.m-playbar');
    m_playbar.on('mouseover', function () {
        m_playbar.css('top', '-53px')
    })

    m_playbar.on('mouseout', function () {
        m_playbar.css('top', '-7px')
    })
    let lockBtn = $('.updn .btn');
    let flag = true;
    lockBtn.on('click', function () {
        m_playbar.toggleClass('m-playbar-unlock').toggleClass('m-playbar-lock')
        flag ? m_playbar.css('top', '-53px') : m_playbar.css('top', '-7px')
        flag ? m_playbar.on('mouseout', function () {
            m_playbar.css('top', '-53px')
        }) : m_playbar.on('mouseout', function () {
            m_playbar.css('top', '-7px')
        })
        flag = !flag
    })
})